import type { GetTodayVipResult } from '@/api/user/type';

export type RoleType = '' | '*' | 'user';
export interface UserState {
  id: string;
  userName: string;
  userAccount: string;
  mobile: string;
  status: string;
  gender: string;
  genderName: string;
  courseHours: number;
  usedHours: number;
  fromVip: string;
  signStatus: string;
  teacher_ewm: string;
  xcx_ewm: string;
  gzh_ewm: string;
  share_pic_url: string;
  share_txt: string;
  schoolId: string;
  vip: GetTodayVipResult | Record<string, never>;
  [key: string]: any;
}

export type providerType =
  | 'weixin'
  | 'qq'
  | 'sinaweibo'
  | 'xiaomi'
  | 'apple'
  | 'univerify'
  | undefined;
